package com.itheima.dao;

import com.itheima.entity.DateCondition;
import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    List<OrderSetting> findAll();

    void addList(List<OrderSetting> orderSettingList);

    void add(OrderSetting orderSetting);

    OrderSetting findByDate(Date orderDate);

    void update(OrderSetting orderSetting);

    List<OrderSetting> findByDateCondition(DateCondition dateCondition);

    void delOrderSetting(String today);
}
